package com.ruoyi.project.inspection.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 车辆类型对象 vi_vehicle_type
 *
 * @author ruoyi
 * @date 2020-07-17
 */
public class ViVehicleType extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 车型名称
     */
    @Excel(name = "车型名称")
    private String name;

    /**
     * 类型明细
     */
    @Excel(name = "类型明细")
    private String detail;

    /**
     * 添加人id
     */
    @Excel(name = "添加人id")
    private Long createId;

    /**
     * 创建部门ID
     */
    @Excel(name = "创建部门ID")
    private Long deptId;

    /**
     * 公司id
     */
    @Excel(name = "公司id")
    private Long comparyId;

    /**
     * 价格
     */
    @Excel(name = "价格")
    private Double price;

    /**
     * 创建人id
     */
    @Excel(name = "创建人id")
    private Long userId;

    /**
     * 0未删除，1已删除
     */
    @Excel(name = "0未删除，1已删除")
    private Integer isDel;

    List<ViVehicleTypeImg> viVehicleTypeImgs;

    List<String> typeImgList;

    public List<String> getTypeImgList() {
        return typeImgList;
    }

    public void setTypeImgList(List<String> typeImgList) {
        this.typeImgList = typeImgList;
    }

    public List<ViVehicleTypeImg> getViVehicleTypeImgs() {
        return viVehicleTypeImgs;
    }

    public void setViVehicleTypeImgs(List<ViVehicleTypeImg> viVehicleTypeImgs) {
        this.viVehicleTypeImgs = viVehicleTypeImgs;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getDetail() {
        return detail;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    public Long getCreateId() {
        return createId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setComparyId(Long comparyId) {
        this.comparyId = comparyId;
    }

    public Long getComparyId() {
        return comparyId;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getPrice() {
        return price;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public Integer getIsDel() {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("detail", getDetail())
                .append("remark", getRemark())
                .append("createId", getCreateId())
                .append("deptId", getDeptId())
                .append("comparyId", getComparyId())
                .append("price", getPrice())
                .append("createTime", getCreateTime())
                .append("userId", getUserId())
                .append("isDel", getIsDel())
                .toString();
    }
}
